package com.ztao.service;

import com.heima.model.common.dtos.ResponseResult;
import com.heima.model.common.wemedia.dtos.WmMaterialDto;
import org.springframework.web.multipart.MultipartFile;

public interface WmMaterialService {
    public ResponseResult uploadPicture(MultipartFile multipartFile);
    public ResponseResult list(WmMaterialDto dto);

    //收藏
    ResponseResult collect(Integer id);
    //取消收藏
    ResponseResult cancelCollect(Integer id);
    //删除
    ResponseResult delPicture(Integer id);
}
